package xcmg.device.dao.entity.delivery;

import xcmg.device.dao.entity.WarehouseArea;

import java.math.BigDecimal;
import java.util.Date;

public class DeliveryNoteDO extends WarehouseArea {
    /**
     * 是否过账：0否 1是
     */
    public static final Integer POSTING_NO = 0, POSTING_YES = 1;

    private String id;

    private String deliveryNo;

    private String saleNo;

    private String agentApplicationNo;

    private String sapSaleOrder;

    private String sapOutBill;

    private String materialsNo;

    private String saleOrg;

    private String distributionChannelId;

    private String distributionChannelName;

    private String productGroup;

    private String saleGroup;

    private String interTradeClausePart1;

    private String interTradeClausePart2;

    private String payConditionId;

    private String payConditionName;

    private String customerPurchaseCode;

    private Date customerPurchaseDate;

    private String responsiblePerson;

    private String orderType;

    private String delivery;

    private String sold;

    private String purchaseOrgId;

    private Date applicationDate;

    private String supplierOrgId;

    private String supplierOrgName;

    private String purchaseLevelId;

    private String purchaseLevelName;

    private String deliveryTypeId;

    private String deliveryTypeName;

    /**
     * 发货方式二级节点
     * addby huahuwei 2018-10-10
     * @return
     */
    private String sendTypeChildId;

    private String sendTypeChildName;

    private String settleTypeId;

    private String settleTypeName;

    private String outLocation;

    private String receiverName;

    private String receiverPhone;

    private String receiverFax;

    private String address;

    private BigDecimal totalSettlementPrice;

    private BigDecimal totalDiscountPrice;

    private Integer paymentState;

    private Integer reviewState;

    private String reviewStateDescribe;

    private String logState;

    private String logStateDescribe;

    private Integer sapUpdate;

    private Integer ticketState;

    private Integer isListing;

    private Integer isState;

    private String isOut;

    private String note;

    private Date createDate;

    private String creatorId;

    private String createName;

    private String purchaseOrgName;

    private String createDepartId;

    private String createDepartName;

    private String createCompanyCode;

    private String createCompanyName;

    private Date modifyDate;

    private String modifyCode;

    private Date signDate;

    private String status;

    private String isOutDesc;

    private String purchaseNo;

    /**
     * 是否过账，0否 1是
     */
    private Integer isPosting;

    private Integer isReverse;

    private Integer isReturn;

    private Integer isReverseSuccess;

    private String sapOutNo;

    private Integer isPrint;

    private Date updateStateDate;

    private Integer checkState;

    /**
     * 国家
     */
    private String country;

    /** 开票时间*/
    private Date ticketDate;

    /** 是否签收 0未签收1已签收*/
    private Integer isSign;

    /** 收货地址编码*/
    private String addressCode;

    /** 送货单号*/
    private String sendOrder;

    private Integer isReady;
    /**尾插金额*/
    private BigDecimal cashShortAndOver;

    private String purchaseContractNo;

    private Date deliveryDate;

    //crm单号
    private String crmOrder;
    //是否前移
    private Integer forward;
    //审核人id
    private String auditUserId;
    //审核人名称
    private String auditUserName;
    //审核日期
    private Date auditDate;
    //审核备注（通过或驳回原因）
    private String auditRemark;

    public String getCrmOrder() {
        return crmOrder;
    }

    public void setCrmOrder(String crmOrder) {
        this.crmOrder = crmOrder;
    }

    public BigDecimal getCashShortAndOver() {
        return cashShortAndOver;
    }

    public void setCashShortAndOver(BigDecimal cashShortAndOver) {
        this.cashShortAndOver = cashShortAndOver;
    }

    public Integer getIsReady() {
        return isReady;
    }

    public void setIsReady(Integer isReady) {
        this.isReady = isReady;
    }

    public String getSendOrder() {
        return sendOrder;
    }

    public void setSendOrder(String sendOrder) {
        this.sendOrder = sendOrder;
    }

    public String getAddressCode() {
        return addressCode;
    }

    public void setAddressCode(String addressCode) {
        this.addressCode = addressCode;
    }

    public Integer getIsSign() {
        return isSign;
    }

    public void setIsSign(Integer isSign) {
        this.isSign = isSign;
    }

    public Date getTicketDate() {
        return ticketDate;
    }

    public void setTicketDate(Date ticketDate) {
        this.ticketDate = ticketDate;
    }


    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Integer getIsListing() {
        return isListing;
    }

    public void setIsListing(Integer isListing) {
        this.isListing = isListing;
    }

    public Integer getIsState() {
        return isState;
    }

    public void setIsState(Integer isState) {
        this.isState = isState;
    }

    public Integer getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Integer isReturn) {
        this.isReturn = isReturn;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getIsOutDesc() {
        return isOutDesc;
    }

    public void setIsOutDesc(String isOutDesc) {
        this.isOutDesc = isOutDesc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo;
    }

    public String getSaleNo() {
        return saleNo;
    }

    public void setSaleNo(String saleNo) {
        this.saleNo = saleNo;
    }

    public String getAgentApplicationNo() {
        return agentApplicationNo;
    }

    public void setAgentApplicationNo(String agentApplicationNo) {
        this.agentApplicationNo = agentApplicationNo;
    }

    public String getSapSaleOrder() {
        return sapSaleOrder;
    }

    public void setSapSaleOrder(String sapSaleOrder) {
        this.sapSaleOrder = sapSaleOrder;
    }

    public String getSapOutBill() {
        return sapOutBill;
    }

    public void setSapOutBill(String sapOutBill) {
        this.sapOutBill = sapOutBill;
    }

    public String getMaterialsNo() {
        return materialsNo;
    }

    public void setMaterialsNo(String materialCode) {
        this.materialsNo = materialCode;
    }

    public String getSaleOrg() {
        return saleOrg;
    }

    public void setSaleOrg(String saleOrg) {
        this.saleOrg = saleOrg;
    }

    public String getDistributionChannelName() {
        return distributionChannelName;
    }

    public void setDistributionChannelName(String distributionChannelName) {
        this.distributionChannelName = distributionChannelName;
    }

    public String getDistributionChannelId() {
        return distributionChannelId;
    }

    public void setDistributionChannelId(String distributionChannelId) {
        this.distributionChannelId = distributionChannelId;
    }

    public String getProductGroup() {
        return productGroup;
    }

    public void setProductGroup(String productGroup) {
        this.productGroup = productGroup;
    }

    public String getSaleGroup() {
        return saleGroup;
    }

    public void setSaleGroup(String saleGroup) {
        this.saleGroup = saleGroup;
    }

    public String getInterTradeClausePart1() {
        return interTradeClausePart1;
    }

    public void setInterTradeClausePart1(String interTradeClausePart1) {
        this.interTradeClausePart1 = interTradeClausePart1;
    }

    public String getInterTradeClausePart2() {
        return interTradeClausePart2;
    }

    public void setInterTradeClausePart2(String interTradeClausePart2) {
        this.interTradeClausePart2 = interTradeClausePart2;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getPayConditionId() {
        return payConditionId;
    }

    public void setPayConditionId(String payConditionId) {
        this.payConditionId = payConditionId;
    }

    public String getPayConditionName() {
        return payConditionName;
    }

    public void setPayConditionName(String payConditionName) {
        this.payConditionName = payConditionName;
    }

    public String getCustomerPurchaseCode() {
        return customerPurchaseCode;
    }

    public void setCustomerPurchaseCode(String customerPurchaseCode) {
        this.customerPurchaseCode = customerPurchaseCode;
    }

    public Date getCustomerPurchaseDate() {
        return customerPurchaseDate;
    }

    public void setCustomerPurchaseDate(Date customerPurchaseDate) {
        this.customerPurchaseDate = customerPurchaseDate;
    }

    public String getResponsiblePerson() {
        return responsiblePerson;
    }

    public void setResponsiblePerson(String responsiblePerson) {
        this.responsiblePerson = responsiblePerson;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public String getSold() {
        return sold;
    }

    public void setSold(String sold) {
        this.sold = sold;
    }

    public String getPurchaseOrgId() {
        return purchaseOrgId;
    }

    public void setPurchaseOrgId(String purchaseOrgId) {
        this.purchaseOrgId = purchaseOrgId;
    }

    public Date getApplicationDate() {
        return applicationDate;
    }

    public void setApplicationDate(Date applicationDate) {
        this.applicationDate = applicationDate;
    }

    public String getSupplierOrgId() {
        return supplierOrgId;
    }

    public void setSupplierOrgId(String supplierOrgId) {
        this.supplierOrgId = supplierOrgId;
    }

    public String getSupplierOrgName() {
        return supplierOrgName;
    }

    public void setSupplierOrgName(String supplierOrgName) {
        this.supplierOrgName = supplierOrgName;
    }

    public String getPurchaseLevelId() {
        return purchaseLevelId;
    }

    public void setPurchaseLevelId(String purchaseLevelId) {
        this.purchaseLevelId = purchaseLevelId;
    }

    public String getPurchaseLevelName() {
        return purchaseLevelName;
    }

    public void setPurchaseLevelName(String purchaseLevelName) {
        this.purchaseLevelName = purchaseLevelName;
    }

    public String getDeliveryTypeId() {
        return deliveryTypeId;
    }

    public void setDeliveryTypeId(String deliveryTypeId) {
        this.deliveryTypeId = deliveryTypeId;
    }

    public String getDeliveryTypeName() {
        return deliveryTypeName;
    }

    public void setDeliveryTypeName(String deliveryTypeName) {
        this.deliveryTypeName = deliveryTypeName;
    }

    public String getSettleTypeId() {
        return settleTypeId;
    }

    public void setSettleTypeId(String settleTypeId) {
        this.settleTypeId = settleTypeId;
    }

    public String getSettleTypeName() {
        return settleTypeName;
    }

    public void setSettleTypeName(String settleTypeName) {
        this.settleTypeName = settleTypeName;
    }

    public String getOutLocation() {
        return outLocation;
    }

    public void setOutLocation(String outLocation) {
        this.outLocation = outLocation;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverFax() {
        return receiverFax;
    }

    public void setReceiverFax(String receiverFax) {
        this.receiverFax = receiverFax;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getTotalSettlementPrice() {
        return totalSettlementPrice;
    }

    public void setTotalSettlementPrice(BigDecimal totalSettlementPrice) {
        this.totalSettlementPrice = totalSettlementPrice;
    }

    public BigDecimal getTotalDiscountPrice() {
        return totalDiscountPrice;
    }

    public void setTotalDiscountPrice(BigDecimal totalDiscountPrice) {
        this.totalDiscountPrice = totalDiscountPrice;
    }

    public Integer getPaymentState() {
        return paymentState;
    }

    public void setPaymentState(Integer paymentState) {
        this.paymentState = paymentState;
    }

    public Integer getReviewState() {
        return reviewState;
    }

    public void setReviewState(Integer reviewState) {
        this.reviewState = reviewState;
    }

    public String getReviewStateDescribe() {
        return reviewStateDescribe;
    }

    public void setReviewStateDescribe(String reviewStateDescribe) {
        this.reviewStateDescribe = reviewStateDescribe;
    }

    public String getLogState() {
        return logState;
    }

    public void setLogState(String logState) {
        this.logState = logState;
    }

    public String getLogStateDescribe() {
        return logStateDescribe;
    }

    public void setLogStateDescribe(String logStateDescribe) {
        this.logStateDescribe = logStateDescribe;
    }

    public Integer getSapUpdate() {
        return sapUpdate;
    }

    public void setSapUpdate(Integer sapUpdate) {
        this.sapUpdate = sapUpdate;
    }

    public Integer getTicketState() {
        return ticketState;
    }

    public void setTicketState(Integer ticketState) {
        this.ticketState = ticketState;
    }

    public Integer getListing() {
        return isListing;
    }

    public void setListing(Integer listing) {
        isListing = listing;
    }

    public Integer getState() {
        return isState;
    }

    public void setState(Integer state) {
        isState = state;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getPurchaseOrgName() {
        return purchaseOrgName;
    }

    public void setPurchaseOrgName(String purchaseOrgName) {
        this.purchaseOrgName = purchaseOrgName;
    }

    public String getCreateDepartId() {
        return createDepartId;
    }

    public void setCreateDepartId(String createDepartId) {
        this.createDepartId = createDepartId;
    }

    public String getCreateDepartName() {
        return createDepartName;
    }

    public void setCreateDepartName(String createDepartName) {
        this.createDepartName = createDepartName;
    }

    public String getCreateCompanyCode() {
        return createCompanyCode;
    }

    public void setCreateCompanyCode(String createCompanyCode) {
        this.createCompanyCode = createCompanyCode;
    }

    public String getCreateCompanyName() {
        return createCompanyName;
    }

    public void setCreateCompanyName(String createCompanyName) {
        this.createCompanyName = createCompanyName;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifyCode() {
        return modifyCode;
    }

    public void setModifyCode(String modifyCode) {
        this.modifyCode = modifyCode;
    }

    public Date getSignDate() {
        return signDate;
    }

    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    public Integer getIsPosting() {
        return isPosting;
    }

    public void setIsPosting(Integer isPosting) {
        this.isPosting = isPosting;
    }

    public Integer getIsReverse() {
        return isReverse;
    }

    public void setIsReverse(Integer isReverse) {
        this.isReverse = isReverse;
    }

    public String getIsOut() {
        return isOut;
    }

    public void setIsOut(String isOut) {
        this.isOut = isOut;
    }

    public Integer getIsReverseSuccess() {
        return isReverseSuccess;
    }

    public void setIsReverseSuccess(Integer isReverseSuccess) {
        this.isReverseSuccess = isReverseSuccess;
    }

    public String getSapOutNo() {
        return sapOutNo;
    }

    public void setSapOutNo(String sapOutNo) {
        this.sapOutNo = sapOutNo;
    }

    public boolean hasPosted() {
        return POSTING_YES.equals(this.isPosting);
    }

    public Integer getIsPrint() {
        return isPrint;
    }

    public void setIsPrint(Integer isPrint) {
        this.isPrint = isPrint;
    }

    public Date getUpdateStateDate() {
        return updateStateDate;
    }

    public void setUpdateStateDate(Date updateStateDate) {
        this.updateStateDate = updateStateDate;
    }

    public Integer getCheckState() {
        return checkState;
    }

    public void setCheckState(Integer checkState) {
        this.checkState = checkState;
    }

    public String getSendTypeChildId() {
        return sendTypeChildId;
    }

    public void setSendTypeChildId(String sendTypeChildId) {
        this.sendTypeChildId = sendTypeChildId;
    }

    public String getSendTypeChildName() {
        return sendTypeChildName;
    }

    public void setSendTypeChildName(String sendTypeChildName) {
        this.sendTypeChildName = sendTypeChildName;
    }

    public String getPurchaseContractNo() {
        return purchaseContractNo;
    }

    public void setPurchaseContractNo(String purchaseContractNo) {
        this.purchaseContractNo = purchaseContractNo;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Integer getForward() {
        return forward;
    }

    public void setForward(Integer forward) {
        this.forward = forward;
    }

    public String getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(String auditUserId) {
        this.auditUserId = auditUserId;
    }

    public String getAuditUserName() {
        return auditUserName;
    }

    public void setAuditUserName(String auditUserName) {
        this.auditUserName = auditUserName;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }
}
